package com.shu.driftbook.action;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.interceptor.ServletRequestAware;

import com.opensymphony.xwork2.ActionSupport;
import com.shu.driftbook.service.BookService;
public class gotBook extends ActionSupport implements ServletRequestAware{
	private int bookid;
	private BookService service;
	private HttpServletRequest request;
	public String execute() throws Exception {
		System.out.print("OK");
		return "SUCCESS";
	}
	public int getBookid() {
		return bookid;
	}
	public void setBookid(int bookid) {
		this.bookid = bookid;
	}
	public BookService getService() {
		return service;
	}
	public void setService(BookService service) {
		this.service = service;
	}
	@Override
	public void setServletRequest(HttpServletRequest arg0) {
		// TODO Auto-generated method stub
		this.request=arg0;
	}

}
